package com.aa;



import android.app.Activity;
import android.app.ProgressDialog;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.TextView;

public class NewFavourableActivity extends Activity {
	  TextView mText;
	  TextView mTitleView;
	  ProgressDialog progressDialog = null;
	  private Button title_btn_back;
	  private Button title_btn_ok;
	@Override
	protected void onCreate(Bundle savedInstanceState) {		
		super.onCreate(savedInstanceState);
		setContentView(R.layout.newfavourable);
		initView();
		initListener();
	}
	
	private void initView(){
		 mTitleView = ((TextView)findViewById(R.id.app_title_center));
		 mTitleView.setText(R.string.app_newfavourable_title);
		 mText = ((TextView)findViewById(R.id.newfavourable_msg));
		 
		 title_btn_back = ((Button)findViewById(R.id.title_btn1));
		 title_btn_back.setVisibility(1);
		 title_btn_back.setText(R.string.app_back_tip);
	}
	
	private void initListener(){
		title_btn_back.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				finish();
				
			}
		});
	}
	  
	  
}
